<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

	<%
		Object oo = session.getAttribute("name");
		if (oo == null) {
			out.print("<script>alert('您没有权限');location='index.jsp';</script>");
			return;
		}
	%>
 当前的用户是:<%=oo %>;<a href="index.jsp">注销</a>